package com.example.springdemo.entity;

/**
 * @ClassName Params
 * @Description TODO
 * @Author MaChao
 * @Date 2022/2/26 14:43
 * @Version 1.0
 **/
public class Params {
    private String name;
    private Integer age;

    public Params() {
    }

    public Params(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "name:" + name + ";age=" + age;
    }
}